package com.zlt.entity;

import com.zlt.annotation.Column;
import com.zlt.annotation.Id;
import com.zlt.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Table("company")
public class Company {


    @Id
    private Integer cid;

    @Column
    private String cname;

    @Column
    private String address;

    @Column("legal_person")
    private String legalPerson;

    @Column
    private String contact;

    @Column
    private String phone;

    @Column
    private Integer state;

    @Column
    private String lid;

}
